package com.matt.repository.base;

import com.matt.domain.Leads;
import com.matt.foundation.query.LeadsHistoryQuery;
import com.matt.foundation.query.LeadsQuery;
import com.matt.foundation.vo.LeadsHistoryVo;

import java.util.Date;
import java.util.List;

/**
* ***********************
* description: 线索原生的sql
* Created by Ron
* from com.matt
* on 2018/6/21 0019.
* ************************
*/
public interface LeadsNativeRepository {
    
    List<Leads> findByCondition(LeadsQuery leadsQuery);

    Long countLeads(LeadsQuery leadsQuery);

    Long arriveLeadsNum(String staffId, Date begin,Date end);

}
